<div style="width:980px">
	<div style="float:left;margin-left:200px;text-align:left;height:40px;" >
		<div style="height:19px;text-align:left;width:150px;">
			<div style="padding-top:2px;width:200px;">Optionen zu dieser Seite:</div>
		</div>
		{if $obj.permissions.new == 1}
		<a href="javascript:void(0);" onclick="xajax.request({literal}{xjxfun:'FrontEndNewObjectWindow'},{parameters:[{{/literal}lang_id:CMS_PAGE_LANGUAGE_ID,obj_parent_obj_id:CMS_PAGE_OBJ_ID{literal}}]}){/literal}"><img src="/ccds/img/frontend/tn-add.gif" alt="" border="0" /></a>
		{/if}
	</div>
	
	<div id="CMS_OBJ_TOOLBAR" style="float:left;margin-left:10px;text-align:left;width:470px;">
		{include file="`$CMS_TPL_DIR`frontend/toolbar.tpl" obj=$obj}
	</div>
	
	
	<div id="CMSswitch">
		<a href="javascript:void(0);" onclick="{literal}xajax.request({xjxfun:'FrontEndLogout'},{parameters:[]});{/literal}" id="CMSswitchBtn">Logout</a>
	</div>
</div>

<div id="CMS_NEW_OBJ_POPUP" style="display:none;">
	<form name="addobjform" id="addobjform" action="" onsubmit="return false;">
		<input type="hidden" name="obj_parent_obj_id" id="obj_parent_obj_id" value="{$obj.obj_id}" />
		{$smarty.config.ContentList_new_obj_name_value}<br />
		<input type="text" name="obj_name" id="obj_name" style="width: 240px;" value="" /><br />
		<select name="obj_key_class_id" style="width: 150px;">
			{foreach name="classloop" item=class from=$classes}
				<option value="{$class.class_id|stripslashes}">{$class.class_name|stripslashes}</option>
			{/foreach}
		</select>
		{literal}
		<input type="button" name="addobjbtn" class="submitbtn" value="hinzuf&uuml;gen" onclick="xajax.request({xjxfun:'FrontEndAddObj'},{parameters:[xajax.getFormValues('addobjform')]});;addobjform.obj_name.value='';return false;" />
		{/literal}
	</form>
</div>